<?php
/*********************/
/*                   */
/* http://www.ymd.cc */
/*********************/
/*    QQ: 11121426   */
/*                   */
/*********************/

function tpl_modifier_userdate($timestamp)
{
    if (!$site_dateformat) {
        $system =& $GLOBALS['system'];
        $system =& $system;
        if (!$GLOBALS['GLOBALS']['site_dateformat'] = $system->getConf("site.dateFormat")) {
            $GLOBALS['GLOBALS']['site_dateformat'] = "Y-m-d";
        }
    }
    return mydate($site_dateformat, $timestamp);
}

?>
